package org.jeecg.modules.demo.dz.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.demo.manage.entity.DzMaterialSkuSpec;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 物料sku
 * @Author: jeecg-boot
 * @Date:   2024-11-12
 * @Version: V1.0
 */
@Data
@ApiModel(value="dz_material_skuPage对象", description="物料sku")
public class DzMaterialSkuPage {

	/**ID*/
	@ApiModelProperty(value = "ID")
    private String id;
	/**物料ID*/
	@Excel(name = "物料ID", width = 15)
	@ApiModelProperty(value = "物料ID")
    private String spuId;
	@ApiModelProperty(value = "物料名称")
	private String name;
	/**产品型号*/
	@Excel(name = "产品型号", width = 15)
	@ApiModelProperty(value = "产品型号")
    private String skuNo;
	/**产品图*/
	@Excel(name = "产品图", width = 15)
	@ApiModelProperty(value = "产品图")
    private String image;
	/**品牌名称*/
	@Excel(name = "品牌名称", width = 15)
	@ApiModelProperty(value = "品牌名称")
    private String brandName;
	/**最低价格*/
	@Excel(name = "最低价格", width = 15)
	@ApiModelProperty(value = "最低价格")
    private Double minPrice;
	/**最高价格*/
	@Excel(name = "最高价格", width = 15)
	@ApiModelProperty(value = "最高价格")
    private Double maxPrice;
	/**描述*/
	@Excel(name = "描述", width = 15)
	@ApiModelProperty(value = "描述")
    private String remark;
	/**序号*/
	@Excel(name = "序号", width = 15)
	@ApiModelProperty(value = "序号")
    private Integer orderNo;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
	@ApiModelProperty(value = "是否删除")
    private Integer isDeleted;
	/**创建人id*/
	@Excel(name = "创建人id", width = 15)
	@ApiModelProperty(value = "创建人id")
    private Integer createId;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人id*/
	@Excel(name = "更新人id", width = 15)
	@ApiModelProperty(value = "更新人id")
    private Integer updateId;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新时间")
    private Date updateTime;

	@ExcelCollection(name="sku属性")
	@ApiModelProperty(value = "sku属性")
	private List<DzMaterialSkuSpec> dzMaterialSkuSpecList;

}
